import { Code, Entity, Jsonb, PrimaryUuid, Title } from "@sker/core";


@Entity({ name: 'core_resource' })
export class CoreResource {

    @PrimaryUuid()
    id: string;

    @Title()
    title: string;

    @Code()
    resource: string;

    @Jsonb({ comment: '参数配置,{ add:any, delete: any, update: any, get: any, list: any}' })
    setting: any;
}